/*
    This file is part of Manhunt.

    Manhunt is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation, either version 3 of the License, or
    (at your option) any later version.

    Manhunt is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License
    along with Manhunt.  If not, see <https://www.gnu.org/licenses/>.
 */

package snw.manhunt.managers;

import org.bukkit.configuration.file.FileConfiguration;
import snw.manhunt.Manhunt;

public class ConfigManager {
    private static final FileConfiguration conf = Manhunt.getInstance().getConfig();

    public static int getHunterWaitTime() {
        return Math.max(conf.getInt("hunter-wait-time"), 0);
    }

}
